BIN=myThread

cc = g++
flags =  -std=c++11 -lpthread

SRC = $(shell ls *.cc)

$(BIN):$(SRC)
	$(cc) -o  $@ $^ $(flags)

.PHONY:clean
clean:
	rm -f $(BIN)

